/*
 * 文件名：AuthoritiesDaoImp.java
 * 版权：Copyright by www.wootide.com
 * 描述：
 * 修改人：develop
 * 修改时间：2013-6-6
 * 跟踪单号：
 * 修改单号：
 * 修改内容：
 */
package com.wootide.ets.sys.rightinfo.dao.imp;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.wootide.ets.log.syslog.RunLog;
import com.wootide.ets.sys.rightinfo.dao.AuthoritiesInfoDao;

public class AuthoritiesInfoDaoImp extends HibernateDaoSupport implements AuthoritiesInfoDao
{
    /**
     * 日志记录
     */
    private RunLog runLog;

    @SuppressWarnings("rawtypes")
    public List findMenuInfosByAuthorityId(Integer AuthorityId)
    {
        return getHibernateTemplate().find("select am.menuInfo from AuthoritiesMenu am where am.authoritiesInfo.authorityId = ?", AuthorityId);
    }
    
    public void setRunLog(RunLog runLog)
    {
        this.runLog = runLog;
    }
    
    
}
